#include "CustomString.h"
void test_string01() {
	cl::stringCap s1("Linux");
	//cout << s1;
	s1.insert(0, '1');
	s1.insert(0, "word");
	cout << s1 << endl;
	cout << s1.capacity() << endl;
	s1.resize(20, '*');
	cout << s1 << endl;
	cout << s1.capacity() << endl;
	//s1.erase(2, 4);
	//cout << s1 << endl;
	//cout << s1.capacity() << endl;
	cout << "find(x): " << s1.find('x') << endl;
	//s1.find("Li");
	cout << "find(Li): " << s1.find("Li") << endl;
}
void test_string02() {
	cl::stringCap a1("abc");
	cl::stringCap a2("ab2");
	bool res = (a1 == a2);
	cout << res;
}
 int maints() {
	test_string02();
	return 0;
 }